package com.san.InterfManage.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.san.InterfManage.domain.InterfManageDo;
import com.san.base.dao.BaseDao;

/**
 * 数据接口管理访问接口
 * @author Zhangye_hz
 *
 */
@Mapper
public interface InterfManageDao extends BaseDao{

	/**
	 * 根据条件查询接口列表
	 * @param interfName
	 * @param interfMethod
	 * @return
	 * @throws Exception
	 */
	public List<InterfManageDo> findListSource(Map<String,Object> map) throws Exception;
	
	/**
	 * 根据条件查询接口列表
	 * @param interfName
	 * @param interfMethod
	 * @return
	 * @throws Exception
	 */
	public int findListSourceCount(Map<String,Object> map) throws Exception;
	
	int changeStatus(InterfManageDo interfManageDO);
	/**
	 * 添加接口
	 * @param interfManageDO
	 * @return
	 */
	int add(InterfManageDo interfManageDO);
	/**
	 * 修改接口信息
	 * @param interfManageDO
	 * @return
	 */
	int update(InterfManageDo interfManageDO);
}
